package cn.mall.auth.mapper;

import cn.mall.auth.domain.Permission;
import cn.mall.base.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author Jarvis-Smith
 * @since 2023-11-30
 */
public interface PermissionMapper extends BaseMapper<Permission> {

    void removeAll();

    List<Permission> loadTree();

    List<String> loadSns();

    List<String> loadPermissionSnsByManagerId(Long id);
}
